package proxy.modules;

/**
 * @author Feng
 * @date 2019/3/12 20:43
 */
public class OrderService implements IOrderService {

    private OrderDao orderDao;

    public OrderService(){
        orderDao = new OrderDao();
    }

    @Override
    public int creatOrder(Order order) {
        System.out.println("OrderService调用orderDao创建订单");
        return orderDao.insert(order);
    }
}
